//
//  CyButton.m
//  LoveFreshBeen
//
//  Created by Cyan on 2016/10/15.
//  Copyright © 2016年 魏根. All rights reserved.
//

#import "CyButton.h"

@implementation CyButton

-(instancetype)initWithFrame:(CGRect)frame {
    if (self = [super initWithFrame:CGRectMake(0, 0, 30, 40)]) {
    }
    return self;
}

- (void)layoutSubviews {
    [super layoutSubviews];
    
    self.imageView.frame = CGRectMake(2.5, 0, 25, 25);
    self.titleLabel.frame = CGRectMake(0, 25, 30, 15);
    self.titleLabel.textAlignment = NSTextAlignmentCenter;
}
@end
